package predicates;

public class Lifting {
	
	private String hoist;
	private String crate;
	public String getHoist() {
		return hoist;
	}
	public void setHoist(String hoist) {
		this.hoist = hoist;
	}
	public String getCrate() {
		return crate;
	}
	public void setCrate(String crate) {
		this.crate = crate;
	}
	public Lifting(String hoist, String crate) {
		super();
		this.hoist = hoist;
		this.crate = crate;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Lifting other = (Lifting) obj;
		if (crate == null) {
			if (other.crate != null)
				return false;
		} else if (!crate.equals(other.crate))
			return false;
		if (hoist == null) {
			if (other.hoist != null)
				return false;
		} else if (!hoist.equals(other.hoist))
			return false;
		return true;
	}
	
	

}
